package net.sudot.chess.business.dao;

import net.sudot.chess.business.model.Signin;
import org.springframework.stereotype.Repository;

/**
 * 签到
 *
 * @author tangjialin on 2018-03-05.
 */
@Repository
public class SigninDao extends BaseDao<Signin> {

    /**
     * 获取签到信息
     *
     * @param customerId 客户主键
     * @return 返回签到信息
     */
    public Signin findByCustomer(Long customerId) {
        return find("customerId", customerId);
    }
}
